feat(dashboards): Add All Dashboards tab and rename existing to Custom#114904
Merged
DominikB2014 merged 9 commits intomasterfrom May 6, 2026
Conversation
…ustom When `dashboards-prebuilt-insights-dashboards` is enabled, the secondary navigation now shows three tabs: - All Dashboards (`?filter=all`): combined view of custom + prebuilt - Custom Dashboards: the existing no-filter view, renamed from "All Dashboards" - Sentry Built (`?filter=onlyPrebuilt`): unchanged The primary sidebar still lands on Custom Dashboards (the no-filter URL) to preserve existing behavior; the new All tab is opt-in via the secondary nav. DAIN-1637
Contributor
📊 Type Coverage Diff✅ No new type safety issues introduced. Coverage: 93.44% |
…f prebuilt The vast majority of orgs have the prebuilt dashboards feature enabled, so the per-org label split adds noise without helping the rare non-prebuilt case.
…b enum Replace the ad-hoc isOnlyPrebuilt/isAllDashboards booleans with a single DashboardsTab state derived from the URL filter, plus mapping tables for the page title and API query params. The mutually exclusive boolean states made the filter logic harder to follow and easier to break with a new tab.
Add an "All Dashboards" entry that links to ?filter=all when prebuilt dashboards are enabled, and rename the no-filter entry to "Custom Dashboards" so it matches the secondary nav after the recent split.
gggritso
approved these changes
May 5, 2026
Member
gggritso
left a comment
There was a problem hiding this comment.
LGTM, just some nits. This might work a bit better if we had separate URLs for these filters, but not a big deal 👍🏻
… off When `dashboards-prebuilt-insights-dashboards` is disabled, there's no sibling "Sentry Built" tab to contrast against, so "Custom Dashboards" loses its meaning. Fall back to "All Dashboards" for that case in the page title, secondary nav link, and command palette entry. Tests now enable the prebuilt flag so they exercise the rename branch.
…shboards-tab-to-custom-dashboards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
all dashboardsandcustom dashboardsoption when prebuilt dashboards are enabled,custom dashboardsis retained as the default.